package com.wgy.day38方法引用.类的构造器引用;

/**
 * Created by pc on 2020/12/14 22:46
 * Description: LearningJava
 */
//定义一个创建Person对象的函数式接口
    @FunctionalInterface
public interface PersonBuilder {
        //定义一个方法,根据传递的姓名,创建Person对象并返回
    Person builderPerson(String str);
}
